package com.dsteiner.widgets.client.rpc;

import java.util.Collection;
import java.util.List;
import java.util.Set;

import com.dsteiner.widgets.client.SuggestBoxWidget.SuggestionRequest;
import com.dsteiner.widgets.client.SuggestBoxWidget.SuggestionResult;
import com.dsteiner.widgets.client.domain.BaseObject;
import com.dsteiner.widgets.client.domain.Distinct;
import com.dsteiner.widgets.client.domain.ModelObject;
import com.google.gwt.http.client.Request;
import com.google.gwt.user.client.rpc.AsyncCallback;

public interface DistinctServiceAsync {

	void createDistincts(String className, String property, AsyncCallback<Collection<Distinct>> callback);

	void getDistincts(DistinctRequest distinctRequest, AsyncCallback<List<Distinct>> callback);
}
